Hypercall to expose physical CPU information.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 10 Nov 2009 13:03:42 +0000 (13:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 10 Nov 2009 13:03:42 +0000 (13:03 +0000)
commitfee63693e0ea23d24f239a05c0607021de02dd7f
treea51815bff41fce05290d8fb31c613e561ec4cce2
parent66cc31ec352b38777396bd8689139e932c396e94
Hypercall to expose physical CPU information.

It also make some changes to current cpu online/offline logic:
1) Firstly, cpu online/offline will trigger a vIRQ to dom0 for status
changes notification.
2) It also add an interface to platform operation to online/offline
physical CPU. Currently the cpu online/offline interface is in sysctl,
which can't be triggered in kernel. With this change, it is possible
to trigger cpu online/offline in dom0 through sysfs interface.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/arch/x86/platform_hypercall.c
xen/arch/x86/smpboot.c
xen/arch/x86/x86_64/platform_hypercall.c
xen/include/asm-x86/smp.h
xen/include/public/platform.h
xen/include/public/xen.h